/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.ta.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.ta.entity.Prinfo;
import com.thinkgem.jeesite.modules.ta.dao.PrinfoDao;

/**
 * 优先级Service
 * @author 刘雨轩
 * @version 2017-06-12
 */
@Service
@Transactional(readOnly = true)
public class PrinfoService extends CrudService<PrinfoDao, Prinfo> {

	
	public List<String> findQName(String userId) {
		return super.findQName(userId);
	}
	public Prinfo get(String id) {
		return super.get(id);
	}
	
	public List<Prinfo> findList(Prinfo prinfo) {
		return super.findList(prinfo);
	}
	
	public Page<Prinfo> findPage(Page<Prinfo> page, Prinfo prinfo) {
		return super.findPage(page, prinfo);
	}
	
	@Transactional(readOnly = false)
	public void save(Prinfo prinfo) {
		super.save(prinfo);
	}
	@Transactional(readOnly = false)
	public void upd(Prinfo prinfo) {
		super.upd(prinfo);
	}
	
	@Transactional(readOnly = false)
	public void delete(Prinfo prinfo) {
		super.delete(prinfo);
	}
	
}